package com.bbg.amyam.web.flow.service.schoolPublicView.createProfile;

import com.bbg.amyam.domain.enumtype.StateCode;
import com.bbg.amyam.domain.model.Profile;
import com.bbg.amyam.web.flow.service.WebFlowServiceForm;

public class CreateProfileForm extends WebFlowServiceForm{
	private String email;


    private String firstName;

    private String lastName;

    private String alternateName;

    private String address;

    private String city;

    private StateCode stateCode;
    private String phone;
    
    private String profilePicture;

    public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getAlternateName() {
		return alternateName;
	}

	public void setAlternateName(String alternateName) {
		this.alternateName = alternateName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public StateCode getStateCode() {
		return stateCode;
	}

	public void setStateCode(StateCode stateCode) {
		this.stateCode = stateCode;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	private String zipCode;


	
    
	public String getEmail() {
		Profile p;
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Profile toObject() {
		Profile profile=new Profile();
		profile.setAddress(address);
		profile.setAlternateName(alternateName);
		profile.setCity(city);
		profile.setEmail(email);
		profile.setFirstName(firstName);
		profile.setLastName(lastName);
		profile.setPhone(phone);
		profile.setStateCode(stateCode);
		profile.setZipCode(zipCode);
		//profile.setProfilePicture()
		return profile;
	}

	public String getProfilePicture() {
		return profilePicture;
	}

	public void setProfilePicture(String profilePicture) {
		this.profilePicture = profilePicture;
	}
	
}
